
#include "basemotor.h"
#include <EEPROM.h>

BaseMotor bb;
void setup()
{
  Serial.begin(9600);
  bb.attach(&Serial);
  
//  Serial.println("Attaching Motor"); 
}

void loop()
{
//  Serial.println("Moving 90 Degrees Absolutely: ");
   //rotates clockwise if degree is positive
  bb.rotateRelative(10000);
  while(Serial.read()!='a');
//  Serial.print("Reading Current Position: ");
//  Serial.println(bb.getCurrentPosition());
//  Serial.print("Reading Current Angle: ");
//  Serial.println(bb.getCurrentAngle());
//  Serial.println("P10000");
}

